package Event.mainLine;

import Creature.Player;
import Event.MainStory;

public class mainLine6 extends MainStory {
    public mainLine6(Player player) {
        super(player);
        lineIndex = 6;
        happenText = "一个吵闹声把你吵醒，原来是一个人打翻了别人的水盆，吵闹声越来越凶，终于有人先动手，两个人扭打在地上。";
        options = new String[]{"劝架"};
    }

    @Override
    public void eventHappen(int option) {
        switch (option) {
            case 0:
                if (player.getPower() > 8) {
                    endText = "你稍微挨了一下就把两个人拉开了，围观的群众马上把两个人控制住了。";
                } else {
                    endText = "你冲进去拉不动他们，反而被拳头波及受了伤。";
                }
                nextEventIndex = 7;
                break;
        }
    }
}
